/**
 * Created by CZ on 2017/4/6.
 */
module.exports = function ($scope,$rootScope,RequestService,commonConfig) {
    $rootScope.isShowFooter = false;
    //获取租户列表
    RequestService.Request(commonConfig.cloudApi+'cloud/tenant','GET').then(function(response){
        console.log(response);
        $scope.TenantList = response.list;
        //TODO 分页
    },function(error){
        console.log(error);
    });
};